﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace ProjectCore.Domain.Model.Entity
{
    public class Pay
    {
        [Key]
        public int PayID { get; set; }//支付ID
        public decimal Money { get; set; }//付款金额
        public int PayType { get; set; }//支付方式
        [StringLength(20)]
        public string Serial { get; set; }//流水号
        public int Num { get; set; }//初始销量
        public int State { get; set; }//付款状态
        public DateTime CreateTime { get; set; }//付款时间
        public int Sort { get; set; }//显示顺序
        public string Spare { get; set; }//备用
        [NotMapped]
        public bool IsDeleted { get; set; }
    }
}
